package com.tjakus.hibernate;

import java.sql.Timestamp;

public class Users {

	/**
	 * 
	 * This class represents users (e-mails) stored in database
	 * 
	 * @author tjakus
	 * 
	 */

	private String email;
	private Timestamp lastTimestamp;
	private int mailCounter;

	public String getEmail() {
		return email;
	}

	public void setEmail(String newEmail) {
		this.email = newEmail;
	}

	public Timestamp getLastTimestamp() {
		return lastTimestamp;
	}

	public void setLastTimestamp(Timestamp newLastTimestamp) {
		this.lastTimestamp = newLastTimestamp;
	}
	
	public int getMailCounter() {
		return mailCounter;
	}
	
	public void setMailCounter(int newMailCounter) {
		this.mailCounter = newMailCounter;
	}
}
